import java.awt.BorderLayout;
import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import java.awt.Font;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.JComboBox;


public class DeleteUserDialog extends JDialog {
	private JTable table;
	private JTextField txtUserID;
	private JTextField textField;
	private JTextField textField_2;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			DeleteUserDialog dialog = new DeleteUserDialog();
			dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Create the dialog.
	 */
	public DeleteUserDialog() {
		setBounds(100, 100, 450, 518);
		getContentPane().setLayout(null);
		{
			JLabel lblNewLabel = new JLabel("DELETE USER");
			lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 20));
			lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
			lblNewLabel.setBounds(0, 0, 434, 25);
			getContentPane().add(lblNewLabel);
		}
		{
			table = new JTable();
			table.setBounds(84, 175, 270, -120);
			getContentPane().add(table);
		}
		{
			JLabel lblUserid = new JLabel("UserID");
			lblUserid.setBounds(63, 219, 46, 14);
			getContentPane().add(lblUserid);
		}
		{
			txtUserID = new JTextField();
			txtUserID.setEditable(false);
			txtUserID.setBounds(138, 216, 233, 20);
			getContentPane().add(txtUserID);
			txtUserID.setColumns(10);
		}
		{
			JLabel lblName = new JLabel("Name");
			lblName.setBounds(63, 257, 46, 14);
			getContentPane().add(lblName);
		}
		{
			textField = new JTextField();
			textField.setColumns(10);
			textField.setBounds(138, 254, 233, 20);
			getContentPane().add(textField);
		}
		{
			JLabel lblUserType = new JLabel("User Type");
			lblUserType.setBounds(63, 302, 59, 14);
			getContentPane().add(lblUserType);
		}
		{
			JLabel lblPassword = new JLabel("Password");
			lblPassword.setBounds(63, 349, 46, 14);
			getContentPane().add(lblPassword);
		}
		{
			textField_2 = new JTextField();
			textField_2.setColumns(10);
			textField_2.setBounds(138, 346, 233, 20);
			getContentPane().add(textField_2);
		}
		{
			JComboBox comboBox = new JComboBox();
			comboBox.setBounds(138, 299, 233, 20);
			getContentPane().add(comboBox);
		}
		{
			JButton btnUpdate = new JButton("Update");
			btnUpdate.setBounds(79, 414, 89, 23);
			getContentPane().add(btnUpdate);
		}
		{
			JButton btnCancel = new JButton("Cancel");
			btnCancel.setBounds(257, 414, 89, 23);
			getContentPane().add(btnCancel);
		}
	}

}
